package com.tid.hbasees.model;

import com.tid.hbasees.utils.hbase.HBaseHelper;

public class InnerNetwork {

    private String linkID;

    private long time;

    private String nodeID;

    private String strSrcDeviceID;

    private String strDstDeviceID;

    private String comService;

    public String getRowkey() {
        return linkID + HBaseHelper.ROWKEY_SEP + time;
    }

    public String getIndex1() {
        return strSrcDeviceID + HBaseHelper.ROWKEY_SEP + time + HBaseHelper.ROWKEY_SEP + linkID;
    }

    public String getIndex2() {
        return strDstDeviceID + HBaseHelper.ROWKEY_SEP + time + HBaseHelper.ROWKEY_SEP + linkID;
    }

    public String getIndex3() {
        return nodeID + HBaseHelper.ROWKEY_SEP + time + HBaseHelper.ROWKEY_SEP + linkID;
    }

    public String getLinkID() {
        return linkID;
    }

    public void setLinkID(String linkID) {
        this.linkID = linkID;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public String getNodeID() {
        return nodeID;
    }

    public void setNodeID(String nodeID) {
        this.nodeID = nodeID;
    }

    public String getStrSrcDeviceID() {
        return strSrcDeviceID;
    }

    public void setStrSrcDeviceID(String strSrcDeviceID) {
        this.strSrcDeviceID = strSrcDeviceID;
    }

    public String getStrDstDeviceID() {
        return strDstDeviceID;
    }

    public void setStrDstDeviceID(String strDstDeviceID) {
        this.strDstDeviceID = strDstDeviceID;
    }

    public String getComService() {
        return comService;
    }

    public void setComService(String comService) {
        this.comService = comService;
    }
}
